Hi Ray, ( just my 2pennies)
Not sure what tom will say, but I think you could use the"Persist Array"
and create a location for
global user thread flags.
Then a thread could check the flag state to either execute or do nothing.
There are "Get" and "Set" functions to call for this.
-Lee Studley
>>>> from the Docs
GetPersistDec<N>
Description
Read a single word from the Persist Array at the specified offset a
single 32-bit value displayed as a signed decimal number. The persist
array is a general purpose array of N_USER_DATA_VARS (2
C Programs may access this array as the integer array:
persist.UserData[n];
It also resides in the KMotion Persist memory structure so that if
memory is flashed, the value will be present at power up.
See also GetPersistHex, SetPersistDec, SetPersistHex
Parameters
<N>
Offset into the integer array. Valid range 0...199.
Example: GetPersistDec 10
GetPersistHex<N>
Description
Read a single word from the Persist Array at the specified offset a
single 32-bit value displayed as an unsigned hexadecimal number. The
persist array is a general purpose array of N_USER_DATA_VARS (200)
32-bit values that is accessible to the host as well as KMotion C
Programs. It may be used to share parameters, commands, or information
between programs.
C Programs may access this array as the integer array:
persist.UserData[n];
It also resides in the KMotion Persist memory structure so that if
memory is flashed, the value will be present at power up.
See also GetPersistDec, SetPersistDec, SetPersistHex
Parameters
<N>
Offset into the integer array. Valid range 0...199.
Example: GetPersistHex 10
On 2/27/2013 9:47 AM, himykabibble wrote:
> Tom,
>
> Is there any mechanism whereby a program in one thread can launch a different program in another thread? I have an application where this would be helpful.
>
> Regards,
> Ray L.
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
>